home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows Expert
/
Windows Expert.iso
/
business
/
pcprojct.zip
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1990-05-24
|
2KB
|
60 lines
echo off
cls
echo ╒═══════════════════════════════════════════════════════════════╕
echo │ PC-Project 3.0 --Copyright 1988-90 The Whitewater Group, Inc. │
echo │ --A Windows 3.0 program written in Actor │
echo │ --PC-Project may be freely distributed │
echo ╘═══════════════════════════════════════════════════════════════╛
echo
if NOT %1x==x goto c2
:c1
echo Parameters missing or incorrect. The correct syntax is:
echo
echo INSTALL source: target: target:target-pathname
echo
echo e.g. INSTALL A: C: C:\ACTOR
echo
goto serror
:c2
:ok1
if NOT %2x==x goto c2a
echo The target: was not specified.
goto c1
:c2a
:ok2
if NOT %3x==x goto c3
echo The target:target-pathname was not specified.
goto c1
:c3
:c4
echo
echo Installation will overwrite existing files with the same names.
echo Press CONTROL-C (^C) to ABORT, any other key to continue...
pause >NUL
:c5
echo
if not exist %3\actor.exe md %3 > nul
%2
cd %3
if not exist classes\window.cls md CLASSES > nul
if not exist act\userapp.act md ACT > nul
if not exist res\actor.rc md RES > nul
copy %1zoo.exe > nul
echo Expanding PC-Project and source code...
zoo xOSq/ %1project.zoo
copy %1*.TXT > nul
:finish
cls
echo
echo You have now installed PC-Project. You will be left in the
echo directory from which you can run it. At the DOS prompt type
echo
echo WIN PROJECT (CR) where (CR) is the Return key
echo
echo Please read the files READPROJ.TXT and PMANUAL.TXT for instructions.
goto :done
:serror
echo
echo Installation terminated because of errors.
:done